/freebsd-current/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_hw.c | 35 ctx->counter[i / 4] = CHACHA_U8TOU32(bctx->oiv + i);
|
H A D | ciphercommon.c | 210 memcpy(ctx->iv, ctx->oiv, ctx->ivlen); 591 && !OSSL_PARAM_set_octet_ptr(p, &ctx->oiv, ctx->ivlen) 592 && !OSSL_PARAM_set_octet_string(p, &ctx->oiv, ctx->ivlen)) { 687 memcpy(ctx->oiv, iv, ivlen);
|
H A D | cipher_tdes_common.c | 85 memcpy(ctx->iv, ctx->oiv, ctx->ivlen);
|
H A D | cipher_aes_cbc_hmac_sha.c | 274 && !OSSL_PARAM_set_octet_string(p, ctx->base.oiv, ctx->base.ivlen) 275 && !OSSL_PARAM_set_octet_ptr(p, &ctx->base.oiv, ctx->base.ivlen)) {
|
H A D | cipher_des.c | 91 memcpy(ctx->iv, ctx->oiv, ctx->ivlen);
|
H A D | cipher_aes_ocb.c | 440 if (!OSSL_PARAM_set_octet_string(p, ctx->base.oiv, ctx->base.ivlen) 441 && !OSSL_PARAM_set_octet_ptr(p, &ctx->base.oiv, ctx->base.ivlen)) {
|
H A D | cipher_chacha20_poly1305_hw.c | 89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv,
|
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | e_rc2.c | 165 i = ASN1_TYPE_set_int_octetstring(type, num, c->oiv, j);
|
H A D | evp_lib.c | 69 unsigned char *oiv = NULL; local 72 oiv = (unsigned char *)EVP_CIPHER_CTX_original_iv(c); 75 i = ASN1_TYPE_set_octetstring(type, oiv, j); 556 const unsigned char *v = ctx->oiv; 561 (void **)&v, sizeof(ctx->oiv));
|
H A D | evp_local.h | 42 unsigned char oiv[EVP_MAX_IV_LENGTH]; /* original iv */ member in struct:evp_cipher_ctx_st
|
H A D | evp_enc.c | 402 memcpy(ctx->oiv, iv, n); 403 memcpy(ctx->iv, ctx->oiv, n);
|
H A D | e_aes.c | 994 const unsigned char *iv = ctx->oiv; 1052 const unsigned char *iv = ctx->oiv; 1121 const unsigned char *iv = ctx->oiv;
|
/freebsd-current/crypto/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 60 unsigned int iv_set : 1; /* Set when the iv is copied to the iv/oiv buffers */ 88 unsigned char oiv[GENERIC_BLOCK_SIZE]; member in struct:prov_cipher_ctx_st
|
/freebsd-current/crypto/openssl/test/ |
H A D | evp_extra_test.c | 3271 unsigned char ciphertext[32], oiv[16], iv[16]; local 3368 || !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv))) 3373 if (!TEST_mem_eq(init_iv, ivlen, oiv, ivlen) 3412 unsigned char ciphertext[32], oiv[8], iv[8]; local 3479 || !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv))) 3484 if (!TEST_mem_eq(init_iv, ivlen, oiv, ivlen)
|