/external/openssl/crypto/hmac/ |
hmac.c | 85 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl)) 87 if (!EVP_DigestUpdate(&ctx->md_ctx,key,len)) 89 if (!EVP_DigestFinal_ex(&(ctx->md_ctx),ctx->key, 120 if (!EVP_MD_CTX_copy_ex(&ctx->md_ctx,&ctx->i_ctx)) 136 return EVP_DigestUpdate(&ctx->md_ctx,data,len); 144 if (!EVP_DigestFinal_ex(&ctx->md_ctx,buf,&i)) 146 if (!EVP_MD_CTX_copy_ex(&ctx->md_ctx,&ctx->o_ctx)) 148 if (!EVP_DigestUpdate(&ctx->md_ctx,buf,i)) 150 if (!EVP_DigestFinal_ex(&ctx->md_ctx,md,len)) 161 EVP_MD_CTX_init(&ctx->md_ctx); [all...] |
hmac.h | 78 EVP_MD_CTX md_ctx; member in struct:hmac_ctx_st
|
/external/openssl/crypto/ecdsa/ |
ecdsatest.c | 187 EVP_MD_CTX md_ctx; local 192 EVP_MD_CTX_init(&md_ctx); 194 EVP_DigestInit(&md_ctx, EVP_ecdsa()); 195 EVP_DigestUpdate(&md_ctx, (const void*)message, 3); 196 EVP_DigestFinal(&md_ctx, digest, &dgst_len); 241 EVP_MD_CTX_cleanup(&md_ctx);
|
/external/openssl/include/openssl/ |
hmac.h | 78 EVP_MD_CTX md_ctx; member in struct:hmac_ctx_st
|
/external/openssl/ssl/ |
s3_enc.c | 610 /* Loop through bitso of algorithm2 field and create MD_CTX-es */ 701 EVP_MD_CTX md_ctx; local 730 EVP_MD_CTX_init(&md_ctx); 732 EVP_MD_CTX_copy_ex( &md_ctx,hash); 733 EVP_DigestUpdate(&md_ctx,mac_sec,md_size); 734 EVP_DigestUpdate(&md_ctx,ssl3_pad_1,npad); 735 EVP_DigestUpdate(&md_ctx,seq,8); 737 EVP_DigestUpdate(&md_ctx,&rec_char,1); 740 EVP_DigestUpdate(&md_ctx,md,2); 741 EVP_DigestUpdate(&md_ctx,rec->input,rec->length) [all...] |
d1_srvr.c | 902 EVP_MD_CTX md_ctx; local 904 EVP_MD_CTX_init(&md_ctx); 1227 EVP_DigestInit_ex(&md_ctx,(num == 2) 1229 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); 1230 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); 1231 EVP_DigestUpdate(&md_ctx,&(d[DTLS1_HM_HEADER_LENGTH]),n); 1232 EVP_DigestFinal_ex(&md_ctx,q, [all...] |
s3_clnt.c | 1234 EVP_MD_CTX md_ctx; local [all...] |
s3_srvr.c | 1485 EVP_MD_CTX md_ctx; local [all...] |