/external/boringssl/src/crypto/cmac/ |
cmac.c | 62 EVP_CIPHER_CTX cipher_ctx; member in struct:cmac_ctx_st 74 EVP_CIPHER_CTX_init(&ctx->cipher_ctx); 78 EVP_CIPHER_CTX_cleanup(&ctx->cipher_ctx); 153 !EVP_EncryptInit_ex(&ctx->cipher_ctx, cipher, NULL, key, kZeroIV) || 154 !EVP_Cipher(&ctx->cipher_ctx, scratch, kZeroIV, AES_BLOCK_SIZE) || 156 !EVP_EncryptInit_ex(&ctx->cipher_ctx, NULL, NULL, NULL, kZeroIV)) { 169 return EVP_EncryptInit_ex(&ctx->cipher_ctx, NULL, NULL, NULL, kZeroIV); 197 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) { 204 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, in, AES_BLOCK_SIZE)) { 240 return EVP_Cipher(&ctx->cipher_ctx, out, out, AES_BLOCK_SIZE) [all...] |
/external/boringssl/src/crypto/cipher_extra/ |
e_ssl3.c | 33 EVP_CIPHER_CTX cipher_ctx; member in struct:__anon13361 79 EVP_CIPHER_CTX_cleanup(&ssl3_ctx->cipher_ctx); 108 EVP_CIPHER_CTX_init(&ssl3_ctx->cipher_ctx); 112 if (!EVP_CipherInit_ex(&ssl3_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len], 121 EVP_CIPHER_CTX_set_padding(&ssl3_ctx->cipher_ctx, 0); 135 if (!ssl3_ctx->cipher_ctx.encrypt) { 173 if (!EVP_EncryptUpdate(&ssl3_ctx->cipher_ctx, out, &len, in, 178 const size_t block_size = EVP_CIPHER_CTX_block_size(&ssl3_ctx->cipher_ctx); 189 if (!EVP_EncryptUpdate(&ssl3_ctx->cipher_ctx, buf, &buf_len, mac, 199 if (!EVP_EncryptUpdate(&ssl3_ctx->cipher_ctx, out_tag + tag_len, &len [all...] |
e_tls.c | 34 EVP_CIPHER_CTX cipher_ctx; member in struct:__anon13362 49 EVP_CIPHER_CTX_cleanup(&tls_ctx->cipher_ctx); 81 EVP_CIPHER_CTX_init(&tls_ctx->cipher_ctx); 89 if (!EVP_CipherInit_ex(&tls_ctx->cipher_ctx, cipher, NULL, &key[mac_key_len], 97 EVP_CIPHER_CTX_set_padding(&tls_ctx->cipher_ctx, 0); 111 if (!tls_ctx->cipher_ctx.encrypt) { 158 if (EVP_CIPHER_CTX_mode(&tls_ctx->cipher_ctx) == EVP_CIPH_CBC_MODE && 160 !EVP_EncryptInit_ex(&tls_ctx->cipher_ctx, NULL, NULL, NULL, nonce)) { 166 if (!EVP_EncryptUpdate(&tls_ctx->cipher_ctx, out, &len, in, (int)in_len)) { 170 unsigned block_size = EVP_CIPHER_CTX_block_size(&tls_ctx->cipher_ctx); [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
tls.h | 108 void *cipher_ctx; member in struct:tls_cipherspec
|
/external/syslinux/gpxe/src/net/ |
tls.c | 359 tx_cipherspec->cipher_ctx, 371 rx_cipherspec->cipher_ctx, 382 cipher_setiv ( tx_cipherspec->cipher, tx_cipherspec->cipher_ctx, key ); 388 cipher_setiv ( rx_cipherspec->cipher, rx_cipherspec->cipher_ctx, key ); 455 cipherspec->cipher_ctx = dynamic; dynamic += cipher->ctxsize; [all...] |
/external/boringssl/src/ssl/ |
t1_lib.cc | 3048 bssl::ScopedEVP_CIPHER_CTX cipher_ctx; local [all...] |