Home
last modified time | relevance | path

Searched refs:ciphertype (Results 1 - 3 of 3) sorted by relevance

/third_party/node/deps/openssl/openssl/engines/
H A De_afalg.c77 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype,
418 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, in afalg_create_sk() argument
428 OPENSSL_strlcpy((char *) sa.salg_type, ciphertype, sizeof(sa.salg_type)); in afalg_create_sk()
555 int ciphertype; in afalg_cipher_init() local
576 ciphertype = EVP_CIPHER_CTX_get_nid(ctx); in afalg_cipher_init()
577 switch (ciphertype) { in afalg_cipher_init()
585 ciphertype); in afalg_cipher_init()
/third_party/openssl/engines/
H A De_afalg.c77 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype,
418 static int afalg_create_sk(afalg_ctx *actx, const char *ciphertype, in afalg_create_sk() argument
428 OPENSSL_strlcpy((char *) sa.salg_type, ciphertype, sizeof(sa.salg_type)); in afalg_create_sk()
555 int ciphertype; in afalg_cipher_init() local
576 ciphertype = EVP_CIPHER_CTX_get_nid(ctx); in afalg_cipher_init()
577 switch (ciphertype) { in afalg_cipher_init()
585 ciphertype); in afalg_cipher_init()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dsymm.rs902 fn cipher_test(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test()
908 let computed = super::decrypt(ciphertype, &key, Some(&iv), &ct).unwrap(); in cipher_test()
926 fn cipher_test_nopad(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test_nopad()
933 let mut c = Crypter::new(ciphertype, Mode::Decrypt, &key, Some(&iv)).unwrap(); in cipher_test_nopad()
935 let mut out = vec![0; ct.len() + ciphertype.block_size()]; in cipher_test_nopad()

Completed in 5 milliseconds