Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/crypto/
Dtcrypt.h30 char digest[MAX_DIGEST_SIZE]; member
42 char digest[MAX_DIGEST_SIZE]; member
69 .digest = { 0x31, 0xd6, 0xcf, 0xe0, 0xd1, 0x6a, 0xe9, 0x31,
74 .digest = { 0xbd, 0xe5, 0x2c, 0xb3, 0x1d, 0xe3, 0x3e, 0x46,
79 .digest = { 0xa4, 0x48, 0x01, 0x7a, 0xaf, 0x21, 0xd8, 0x52,
84 .digest = { 0xd9, 0x13, 0x0a, 0x81, 0x64, 0x54, 0x9f, 0xe8,
89 .digest = { 0xd7, 0x9e, 0x1c, 0x30, 0x8a, 0xa5, 0xbb, 0xcd,
96 .digest = { 0x04, 0x3f, 0x85, 0x82, 0xf2, 0x41, 0xdb, 0x35,
102 .digest = { 0xe3, 0x3b, 0x4d, 0xdc, 0x9c, 0x38, 0xf2, 0x19,
114 .digest = { 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04,
[all …]
DConfig.in34 tristate ' MD4 digest algorithm' CONFIG_CRYPTO_MD4
45 tristate ' MD5 digest algorithm' CONFIG_CRYPTO_MD5
57 tristate ' SHA1 digest algorithm' CONFIG_CRYPTO_SHA1
59 tristate ' SHA256 digest algorithm' CONFIG_CRYPTO_SHA256
60 tristate ' SHA384 and SHA512 digest algorithms' CONFIG_CRYPTO_SHA512
61 tristate ' Whirlpool digest algorithms' CONFIG_CRYPTO_WP512
88 tristate ' Michael MIC keyed digest algorithm' CONFIG_CRYPTO_MICHAEL_MIC
Dwp512.c1072 u8 *digest = out; in wp512_final() local
1092 digest[0] = (u8)(wctx->hash[i] >> 56); in wp512_final()
1093 digest[1] = (u8)(wctx->hash[i] >> 48); in wp512_final()
1094 digest[2] = (u8)(wctx->hash[i] >> 40); in wp512_final()
1095 digest[3] = (u8)(wctx->hash[i] >> 32); in wp512_final()
1096 digest[4] = (u8)(wctx->hash[i] >> 24); in wp512_final()
1097 digest[5] = (u8)(wctx->hash[i] >> 16); in wp512_final()
1098 digest[6] = (u8)(wctx->hash[i] >> 8); in wp512_final()
1099 digest[7] = (u8)(wctx->hash[i] ); in wp512_final()
1100 digest += 8; in wp512_final()
[all …]
Ddigest.c69 static void digest(struct crypto_tfm *tfm, in digest() function
98 ops->dit_digest = digest; in crypto_init_digest_ops()
Dtcrypt.c118 if (tfm->crt_u.digest.dit_setkey) { in test_hash()
127 memcmp(result, hash_tv[i].digest, in test_hash()
159 memcmp(result, hash_tv[i].digest, in test_hash()
215 memcmp(result, hmac_tv[i].digest, in test_hmac()
248 memcmp(result, hmac_tv[i].digest, in test_hmac()
DMakefile12 obj-$(CONFIG_CRYPTO) += api.o scatterwalk.o cipher.o digest.o compress.o \
Dcrypto_null.c75 .cra_u = { .digest = {
Dmichael_mic.c167 .cra_u = { .digest = {
Dsha512.c328 .cra_u = { .digest = {
343 .cra_u = { .digest = {
Dmd4.c228 .cra_u = { .digest = {
Dmd5.c223 .cra_u = { .digest = {
Dsha1.c187 .cra_u = { .digest = {
Dsha256.c341 .cra_u = { .digest = {
/linux-2.4.37.9/net/sctp/
Dhashdriver.c60 __u8 *digest) in sctp_hash_digest() argument
114 SLA1_Final(&context,digest); /* finish up 1st pass */ in sctp_hash_digest()
123 SLA1_Process(&context, digest, 20); /* then results of 1st in sctp_hash_digest()
126 SLA1_Final(&context, digest); /* finish up 2nd pass */ in sctp_hash_digest()
Dsm_make_chunk.c1336 __u8 digest[SCTP_SIGNATURE_SIZE]; in sctp_unpack_cookie() local
1373 memset(digest, 0x00, sizeof(digest)); in sctp_unpack_cookie()
1375 1, digest); in sctp_unpack_cookie()
1377 if (memcmp(digest, cookie->signature, SCTP_SIGNATURE_SIZE)) { in sctp_unpack_cookie()
1380 memset(digest, 0x00, sizeof(digest)); in sctp_unpack_cookie()
1382 &sg, 1, digest); in sctp_unpack_cookie()
1384 if (memcmp(digest, cookie->signature, SCTP_SIGNATURE_SIZE)) { in sctp_unpack_cookie()
/linux-2.4.37.9/include/linux/
Dcrypto.h94 #define cra_digest cra_u.digest
106 struct digest_alg digest; member
180 #define crt_digest crt_u.digest
189 struct digest_tfm digest; member
/linux-2.4.37.9/drivers/char/
Drandom.c905 static void SHATransform(__u32 digest[85], __u32 const data[16]) in SHATransform()
910 #define W (digest + HASH_BUFFER_SIZE) /* Expanded data array */ in SHATransform()
925 A = digest[ 0 ]; in SHATransform()
926 B = digest[ 1 ]; in SHATransform()
927 C = digest[ 2 ]; in SHATransform()
928 D = digest[ 3 ]; in SHATransform()
929 E = digest[ 4 ]; in SHATransform()
1087 digest[ 0 ] += A; in SHATransform()
1088 digest[ 1 ] += B; in SHATransform()
1089 digest[ 2 ] += C; in SHATransform()
[all …]
/linux-2.4.37.9/Documentation/crypto/
Dapi-intro.txt30 [transform ops] (per-type logic glue e.g. cipher.c, digest.c)
/linux-2.4.37.9/drivers/net/wireless/
Dairo.c1099 void emmh32_final(emmh32_context *context, u8 digest[4]);
1256 u8 digest[4]; in decapsulate() local
1312 emmh32_final(&context->seed, digest); in decapsulate()
1314 if (memcmp(digest, &mic->mic, 4)) { //Make sure the mics match in decapsulate()
1514 void emmh32_final(emmh32_context *context, u8 digest[4]) in emmh32_final()
1541 digest[0] = (val>>24) & 0xFF; in emmh32_final()
1542 digest[1] = (val>>16) & 0xFF; in emmh32_final()
1543 digest[2] = (val>>8) & 0xFF; in emmh32_final()
1544 digest[3] = val & 0xFF; in emmh32_final()
/linux-2.4.37.9/Documentation/
DConfigure.help28987 MD4 message digest algorithm (RFC1320).
28990 MD5 message digest algorithm (RFC1321).