/external/openssh/ |
mac.c | 119 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md); 143 HMAC_Init(&mac->evp_ctx, NULL, 0, NULL); 144 HMAC_Update(&mac->evp_ctx, b, sizeof(b)); 145 HMAC_Update(&mac->evp_ctx, data, datalen); 146 HMAC_Final(&mac->evp_ctx, m, NULL); 166 HMAC_cleanup(&mac->evp_ctx);
|
kex.h | 104 HMAC_CTX evp_ctx; member in struct:Mac
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
pk7_doit.c | 428 EVP_CIPHER_CTX *evp_ctx=NULL; local 568 evp_ctx=NULL; 569 BIO_get_cipher_ctx(etmp,&evp_ctx); 570 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0) 572 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0) 575 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx); 579 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) 588 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) { 593 if(!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen)) 605 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0 [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 428 EVP_CIPHER_CTX *evp_ctx=NULL; local 568 evp_ctx=NULL; 569 BIO_get_cipher_ctx(etmp,&evp_ctx); 570 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0) 572 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0) 575 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx); 579 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) 588 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) { 593 if(!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen)) 605 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0 [all...] |