/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/ |
H A D | md5.h | 48 unsigned char digest[16]; /* actual digest after MD5Final call */ member in struct:__anon14892
|
H A D | chap.c | 165 void ChapAuthWithPeer(int unit, char *our_name, int digest) argument 170 cstate->resp_type = digest; 191 void ChapAuthPeer(int unit, char *our_name, int digest) argument 196 cstate->chal_type = digest; 499 CHAPDEBUG((LOG_INFO, "unknown digest type %d\n", cstate->resp_type)); 601 CHAPDEBUG((LOG_INFO, "unknown digest type %d\n", cstate->chal_type));
|
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/ |
H A D | md5.h | 48 unsigned char digest[16]; /* actual digest after MD5Final call */ member in struct:__anon14927
|
H A D | chap.c | 177 ChapAuthWithPeer(int unit, char *our_name, u_char digest) argument 182 cstate->resp_type = digest; 204 ChapAuthPeer(int unit, char *our_name, u_char digest) argument 209 cstate->chal_type = digest; 508 CHAPDEBUG(LOG_INFO, ("unknown digest type %d\n", cstate->resp_type)); 613 CHAPDEBUG(LOG_INFO, ("unknown digest type %d\n", cstate->chal_type));
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | hmac.h | 16 * @v digest Digest algorithm to use 21 static inline void hmac_update ( struct digest_algorithm *digest, argument 24 digest_update ( digest, digest_ctx, data, len ); 27 extern void hmac_init ( struct digest_algorithm *digest, void *digest_ctx, 29 extern void hmac_final ( struct digest_algorithm *digest, void *digest_ctx,
|
H A D | chap.h | 20 struct digest_algorithm *digest; member in struct:chap_response 21 /** Context used by the digest algorithm */ 30 struct digest_algorithm *digest );
|
H A D | cms.h | 28 struct digest_algorithm *digest; member in struct:cms_signer_info
|
H A D | md5.h | 15 /** An MD5 digest */ 36 /** MD5 digest and data block 43 struct md5_digest digest; member in struct:md5_digest_data 48 /** MD5 digest and data block */ 68 /** MD5 digest size */
|
H A D | sha1.h | 15 /** An SHA-1 digest */ 36 /** SHA-1 digest and data block 43 struct sha1_digest digest; member in struct:sha1_digest_data 48 /** SHA-1 digest and data block */ 68 /** SHA-1 digest size */
|
H A D | sha256.h | 15 /** An SHA-256 digest */ 36 /** SHA-256 digest and data block 43 struct sha256_digest digest; member in struct:sha256_digest_data 48 /** SHA-256 digest and data block */ 68 /** SHA-256 digest size */
|
H A D | rsa.h | 27 /** RSA digest prefix */ 43 struct digest_algorithm *digest; member in struct:rsa_digestinfo_prefix
|
H A D | asn1.h | 240 struct digest_algorithm *digest; member in struct:asn1_algorithm
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | debug_md5.c | 35 struct digest_algorithm *digest = &md5_algorithm; local 36 uint8_t digest_ctx[digest->ctxsize]; 37 uint8_t digest_out[digest->digestsize]; 41 digest_init ( digest, digest_ctx ); 42 digest_update ( digest, digest_ctx, data, len ); 43 digest_final ( digest, digest_ctx, digest_out );
|
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | digest_test.c | 32 * Test digest algorithm 34 * @v digest Digest algorithm 38 * @v expected Expected digest value 41 int digest_test ( struct digest_algorithm *digest, argument 44 uint8_t ctx[digest->ctxsize]; 45 uint8_t out[digest->digestsize]; 49 /* Initialise digest */ 50 digest_init ( digest, ctx ); 52 /* Update digest fragment-by-fragment */ 59 digest_update ( digest, ct [all...] |
H A D | md5_test.c | 38 /** Expected digest */ 39 uint8_t digest[MD5_DIGEST_SIZE]; member in struct:md5_test_vector 70 struct digest_algorithm *digest = &md5_algorithm; local 79 digest_ok ( digest, NULL, test->data, test->len, test->digest ); 83 digest_ok ( digest, &md5_test_fragments[j], 84 test->data, test->len, test->digest );
|
H A D | sha1_test.c | 38 /** Expected digest */ 39 uint8_t digest[SHA1_DIGEST_SIZE]; member in struct:sha1_test_vector 46 * Expected digest value obtained from "sha1sum /dev/null" 75 struct digest_algorithm *digest = &sha1_algorithm; local 84 digest_ok ( digest, NULL, test->data, test->len, test->digest ); 88 digest_ok ( digest, &sha1_test_fragments[j], 89 test->data, test->len, test->digest );
|
H A D | sha256_test.c | 38 /** Expected digest */ 39 uint8_t digest[SHA256_DIGEST_SIZE]; member in struct:sha256_test_vector 46 * Expected digest value obtained from "sha256sum /dev/null" 78 struct digest_algorithm *digest = &sha256_algorithm; local 87 digest_ok ( digest, NULL, test->data, test->len, test->digest ); 91 digest_ok ( digest, &sha256_test_fragments[j], 92 test->data, test->len, test->digest );
|
H A D | rsa_test.c | 122 struct digest_algorithm *digest; member in struct:rsa_signature_test 153 .digest = DIGEST, \ 187 (test)->private_len, (test)->digest, \ 191 (test)->public_len, (test)->digest, \ 196 (test)->public_len, (test)->digest, \
|
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | hash_df.c | 70 uint8_t digest[hash->digestsize]; local 115 digest_final ( hash, context, digest ); 125 frag_len = sizeof ( digest ); 128 memcpy ( temp, digest, frag_len );
|
H A D | hmac.c | 35 * @v digest Digest algorithm to use 40 static void hmac_reduce_key ( struct digest_algorithm *digest, argument 42 uint8_t digest_ctx[digest->ctxsize]; 44 digest_init ( digest, digest_ctx ); 45 digest_update ( digest, digest_ctx, key, *key_len ); 46 digest_final ( digest, digest_ctx, key ); 47 *key_len = digest->digestsize; 53 * @v digest Digest algorithm to use 59 * digest algorithm being used. (If the key length is greater, it 60 * will be replaced with its own digest, an 63 hmac_init( struct digest_algorithm *digest, void *digest_ctx, void *key, size_t *key_len ) argument 98 hmac_final( struct digest_algorithm *digest, void *digest_ctx, void *key, size_t *key_len, void *hmac ) argument [all...] |
H A D | cms.c | 59 __einfo_uniqify ( EINFO_EINVAL, 0x01, "Not a digest algorithm" ) 240 * Parse CMS signature digest algorithm 255 DBGC ( sig, "CMS %p/%p could not identify digest algorithm: " 261 /* Record digest algorithm */ 262 info->digest = algorithm->digest; 263 DBGC ( sig, "CMS %p/%p digest algorithm is %s\n", 526 * Calculate digest of CMS-signed data 537 struct digest_algorithm *digest = info->digest; local 578 struct digest_algorithm *digest = info->digest; local [all...] |
H A D | ocsp.c | 97 /** OCSP digest algorithm */ 100 /** OCSP digest algorithm identifier */ 135 struct digest_algorithm *digest = &ocsp_digest_algorithm; local 138 uint8_t digest_ctx[digest->ctxsize]; 139 uint8_t name_digest[digest->digestsize]; 140 uint8_t pubkey_digest[digest->digestsize]; 144 digest_init ( digest, digest_ctx ); 145 digest_update ( digest, digest_ctx, ocsp->cert->issuer.raw.data, 147 digest_final ( digest, digest_ctx, name_digest ); 148 digest_init ( digest, digest_ct 636 struct digest_algorithm *digest = response->algorithm->digest; local [all...] |
H A D | rsa.c | 67 .digest = NULL, 75 .digest = &md5_algorithm, 83 .digest = &sha1_algorithm, 91 .digest = &sha256_algorithm, 109 .digest = &md5_algorithm, 116 .digest = &sha1_algorithm, 123 .digest = &sha256_algorithm, 131 * @v digest Digest algorithm 135 rsa_find_prefix ( struct digest_algorithm *digest ) { 139 if ( prefix->digest 478 rsa_encode_digest( struct rsa_context *context, struct digest_algorithm *digest, const void *value, void *encoded ) argument 536 rsa_sign( void *ctx, struct digest_algorithm *digest, const void *value, void *signature ) argument 570 rsa_verify( void *ctx, struct digest_algorithm *digest, const void *value, const void *signature, size_t signature_len ) argument [all...] |
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | alt-md5.cpp | 3 * IPRT - MD5 message digest functions, alternative implementation. 32 * This code implements the MD5 message-digest algorithm. 42 * To compute the message digest of a chunk of bytes, declare an 45 * will fill a supplied 16-byte array with the digest. 294 RTDECL(void) RTMd5Final(uint8_t digest[16], PRTMD5CONTEXT pCtx) argument 334 memcpy(digest, pCtx->AltPrivate.buf, 16);
|
/vbox/src/recompiler/tests/ |
H A D | sha1.c | 44 void SHA1Final(unsigned char digest[20], SHA1_CTX* context); 171 /* Add padding and return the message digest. */ 173 void SHA1Final(unsigned char digest[20], SHA1_CTX* context) argument 209 digest[i] = (unsigned char)
|