Home
last modified time | relevance | path

Searched refs:cipher_data (Results 1 – 15 of 15) sorted by relevance

/mirbsd/src/lib/libssl/src/crypto/evp/
De_des.c76 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); in des_ecb_cipher()
83 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, (DES_cblock *)ctx->iv, &ctx->num); in des_ofb_cipher()
90 DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cbc_cipher()
98 DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_cfb64_cipher()
114 DES_cfb_encrypt(c,d,1,1,ctx->cipher_data,(DES_cblock *)ctx->iv, in des_cfb1_cipher()
124 DES_cfb_encrypt(in,out,8,inl,ctx->cipher_data,(DES_cblock *)ctx->iv, in des_cfb8_cipher()
150 DES_set_key_unchecked(deskey,ctx->cipher_data); in des_init_key()
De_idea.c79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data); in idea_ecb_cipher()
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
111 idea_set_decrypt_key(&tmp,ctx->cipher_data); in BLOCK_CIPHER_func_cbc()
Devp_enc.c194 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex()
195 if (!ctx->cipher_data) in EVP_CipherInit_ex()
203 ctx->cipher_data = NULL; in EVP_CipherInit_ex()
537 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
538 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_cleanup()
540 if (c->cipher_data) in EVP_CIPHER_CTX_cleanup()
541 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_cleanup()
Devp_locl.h74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
81 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
88 …cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->en…
95 …cprefix##_cfb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
227 #define EVP_C_DATA(kstruct, ctx) ((kstruct *)(ctx)->cipher_data)
De_aes.c105 ret=AES_set_encrypt_key(key, ctx->key_len * 8, ctx->cipher_data); in aes_init_key()
107 ret=AES_set_decrypt_key(key, ctx->key_len * 8, ctx->cipher_data); in aes_init_key()
De_rc4.c76 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data)
De_xcbc_d.c79 #define data(ctx) ((DESX_CBC_KEY *)(ctx)->cipher_data)
De_rc2.c82 #define data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data)
De_des3.c80 #define data(ctx) ((DES_EDE_KEY *)(ctx)->cipher_data)
Devp.h366 void *cipher_data; /* per EVP data */ member
/mirbsd/src/lib/libssl/src/crypto/bf/
Dbftest.c172 static unsigned char cipher_data[NUM_TESTS][8]={ variable
299 printf("%02X",cipher_data[i][j]); in print_test_data()
412 if (memcmp(&(cipher_data[n][0]),out,8) != 0) in test()
421 printf("%02X ",cipher_data[n][i]); in test()
/mirbsd/src/lib/libssl/src/crypto/engine/
Dhw_cryptodev.c390 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_cipher()
443 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_init_key()
481 struct dev_crypto_state *state = ctx->cipher_data; in cryptodev_cleanup()
697 viac3_xcrypt_cbc(cw, usein, useout, ctx->cipher_data, inl / 16, ivp); in xcrypt_cipher()
722 AES_KEY *k = ctx->cipher_data; in xcrypt_init_key()
749 bzero(ctx->cipher_data, ctx->cipher->ctx_size); in xcrypt_cleanup()
Deng_openssl.c207 #define test(ctx) ((TEST_RC4_KEY *)(ctx)->cipher_data)
/mirbsd/src/lib/libssl/src/crypto/des/
Ddestest.c164 static unsigned char cipher_data[NUM_TESTS][8]={ variable
417 if (memcmp(out,cipher_data[i],8) != 0) in main()
420 i+1,pt(key_data[i]),pt(in),pt(cipher_data[i]), in main()
/mirbsd/src/usr.bin/ssh/
Dcipher.c396 #define EVP_X_STATE(evp) (evp).cipher_data