/external/openssh/ |
mac.h | 39 struct ssh_hmac_ctx *hmac_ctx; member in struct:sshmac
|
mac.c | 120 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL) 156 if (mac->hmac_ctx == NULL || 157 ssh_hmac_init(mac->hmac_ctx, mac->key, mac->key_len) < 0) 192 if (ssh_hmac_init(mac->hmac_ctx, NULL, 0) < 0 || 193 ssh_hmac_update(mac->hmac_ctx, b, sizeof(b)) < 0 || 194 ssh_hmac_update(mac->hmac_ctx, data, datalen) < 0 || 195 ssh_hmac_final(mac->hmac_ctx, u.m, sizeof(u.m)) < 0) 246 } else if (mac->hmac_ctx != NULL) 247 ssh_hmac_free(mac->hmac_ctx); 248 mac->hmac_ctx = NULL [all...] |
/external/boringssl/src/crypto/cipher_extra/ |
e_tls.c | 35 HMAC_CTX hmac_ctx; member in struct:__anon13362 50 HMAC_CTX_cleanup(&tls_ctx->hmac_ctx); 82 HMAC_CTX_init(&tls_ctx->hmac_ctx); 92 !HMAC_Init_ex(&tls_ctx->hmac_ctx, key, mac_key_len, md, NULL)) { 149 if (!HMAC_Init_ex(&tls_ctx->hmac_ctx, NULL, 0, NULL, NULL) || 150 !HMAC_Update(&tls_ctx->hmac_ctx, ad, ad_len) || 151 !HMAC_Update(&tls_ctx->hmac_ctx, ad_extra, sizeof(ad_extra)) || 152 !HMAC_Update(&tls_ctx->hmac_ctx, in, in_len) || 153 !HMAC_Final(&tls_ctx->hmac_ctx, mac, &mac_len)) [all...] |
/external/boringssl/src/ssl/ |
t1_lib.cc | 3047 bssl::ScopedHMAC_CTX hmac_ctx; local [all...] |
ssl_test.cc | [all...] |
ssl_lib.cc | [all...] |
/external/boringssl/src/ssl/test/ |
bssl_shim.cc | 884 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, 905 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || [all...] |
/external/boringssl/src/include/openssl/ |
ssl.h | [all...] |