| /src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| cmeth_lib.c | 18 EVP_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_CIPHER)); local 20 if (cipher != NULL) { 21 cipher->nid = cipher_type; 22 cipher->block_size = block_size; 23 cipher->key_len = key_len; 25 return cipher; 28 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher) 30 EVP_CIPHER *to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size, 31 cipher->key_len) [all...] |
| evp_enc.c | 26 if (c->cipher != NULL) { 27 if (c->cipher->cleanup && !c->cipher->cleanup(c)) 29 /* Cleanse cipher context data */ 30 if (c->cipher_data && c->cipher->ctx_size) 31 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); 52 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, 55 if (cipher != NULL) 57 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); 60 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/evp/ |
| cmeth_lib.c | 25 EVP_CIPHER *cipher = evp_cipher_new(); local 27 if (cipher != NULL) { 28 cipher->nid = cipher_type; 29 cipher->block_size = block_size; 30 cipher->key_len = key_len; 31 cipher->origin = EVP_ORIG_METH; 33 return cipher; 36 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher) 44 if (cipher->prov != NULL) 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size [all...] |
| asymcipher.c | 35 EVP_ASYM_CIPHER *cipher = NULL; local 62 * Try to derive the supported asym cipher from |ctx->keymgmt|. 82 * 1. Do the normal asym cipher fetch, using the fetching data given by 84 * 2. Do the provider specific asym cipher fetch, from the same provider 88 * asym cipher, and try to export |ctx->pkey| to that keymgmt (when 104 EVP_ASYM_CIPHER_free(cipher); 109 cipher = EVP_ASYM_CIPHER_fetch(ctx->libctx, supported_ciph, 111 if (cipher != NULL) 112 tmp_prov = EVP_ASYM_CIPHER_get0_provider(cipher); 116 cipher = evp_asym_cipher_fetch_from_prov((OSSL_PROVIDER *)tmp_prov 244 EVP_ASYM_CIPHER *cipher; local 293 EVP_ASYM_CIPHER *cipher; local 350 EVP_ASYM_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_ASYM_CIPHER)); local 371 EVP_ASYM_CIPHER *cipher = NULL; local [all...] |
| evp_enc.c | 38 if (ctx->cipher == NULL || ctx->cipher->prov == NULL) 42 if (ctx->cipher->freectx != NULL) 43 ctx->cipher->freectx(ctx->algctx); 56 if (ctx->cipher != NULL) { 57 if (ctx->cipher->cleanup && !ctx->cipher->cleanup(ctx)) 59 /* Cleanse cipher context data */ 60 if (ctx->cipher_data && ctx->cipher->ctx_size) 61 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size) 1728 const EVP_CIPHER *cipher = ctx->cipher; local 1837 EVP_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_CIPHER)); local 1882 EVP_CIPHER *cipher = NULL; local 2065 EVP_CIPHER *cipher = evp_generic_fetch(ctx, OSSL_OP_CIPHER, algorithm, properties, local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| cmeth_lib.c | 25 EVP_CIPHER *cipher = evp_cipher_new(); local 27 if (cipher != NULL) { 28 cipher->nid = cipher_type; 29 cipher->block_size = block_size; 30 cipher->key_len = key_len; 31 cipher->origin = EVP_ORIG_METH; 33 return cipher; 36 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher) 44 if (cipher->prov != NULL) 47 if ((to = EVP_CIPHER_meth_new(cipher->nid, cipher->block_size [all...] |
| evp_enc.c | 35 if (ctx->cipher == NULL || ctx->cipher->prov == NULL) 39 if (ctx->cipher->freectx != NULL) 40 ctx->cipher->freectx(ctx->algctx); 53 if (ctx->cipher != NULL) { 54 if (ctx->cipher->cleanup && !ctx->cipher->cleanup(ctx)) 56 /* Cleanse cipher context data */ 57 if (ctx->cipher_data && ctx->cipher->ctx_size) 58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size) 1378 const EVP_CIPHER *cipher = ctx->cipher; local 1477 EVP_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_CIPHER)); local 1526 EVP_CIPHER *cipher = NULL; local 1672 EVP_CIPHER *cipher = local [all...] |
| asymcipher.c | 25 EVP_ASYM_CIPHER *cipher = NULL; local 51 * Try to derive the supported asym cipher from |ctx->keymgmt|. 71 * 1. Do the normal asym cipher fetch, using the fetching data given by 73 * 2. Do the provider specific asym cipher fetch, from the same provider 77 * asym cipher, and try to export |ctx->pkey| to that keymgmt (when 93 EVP_ASYM_CIPHER_free(cipher); 98 cipher = EVP_ASYM_CIPHER_fetch(ctx->libctx, supported_ciph, 100 if (cipher != NULL) 101 tmp_prov = EVP_ASYM_CIPHER_get0_provider(cipher); 105 cipher 304 EVP_ASYM_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_ASYM_CIPHER)); local 329 EVP_ASYM_CIPHER *cipher = NULL; local [all...] |
| /src/external/bsd/ppp/dist/pppd/ |
| crypto_ms.h | 53 * unsigned char *cipher: 59 unsigned char *cipher); 65 * const unsigned char *cipher: 76 int DesDecrypt(const unsigned char *cipher, const unsigned char *key,
|
| /src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| evpkdf_krb5.txt | 10 # Cipher Decrypt Derive Digest Encoding KDF MAC PBE 18 Ctrl.cipher = cipher:DES-EDE3-CBC 24 Ctrl.cipher = cipher:DES-EDE3-CBC 30 Ctrl.cipher = cipher:DES-EDE3-CBC 36 Ctrl.cipher = cipher:DES-EDE3-CBC 42 Ctrl.cipher = cipher:DES-EDE3-CB [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/cipher-suites/ |
| prereq.sh | 16 $FEATURETEST --have-openssl-cipher-suites || {
|
| /src/sys/crypto/skipjack/ |
| skipjack.h | 17 extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); 18 extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key);
|
| /src/external/bsd/wpa/bin/hostapd/ |
| aes-xinternal.c | 7 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, u8 *plain)
|
| /src/external/bsd/wpa/bin/wpa_supplicant/ |
| aes-xinternal.c | 7 int aes_unwrap(const u8 *kek, size_t kek_len, int n, const u8 *cipher, u8 *plain)
|
| /src/crypto/external/apache2/openssl/dist/test/recipes/30-test_evp_data/ |
| evpkdf_krb5.txt | 10 # Cipher Decrypt Derive Digest Encoding KDF MAC PBE 18 Ctrl.cipher = cipher:DES-EDE3-CBC 24 Ctrl.cipher = cipher:DES-EDE3-CBC 30 Ctrl.cipher = cipher:DES-EDE3-CBC 36 Ctrl.cipher = cipher:DES-EDE3-CBC 42 Ctrl.cipher = cipher:DES-EDE3-CB [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/ |
| 25-cipher.conf | 5 test-0 = 0-cipher-server-1 6 test-1 = 1-cipher-server-2 7 test-2 = 2-cipher-server-client-list 8 test-3 = 3-cipher-server-pref-1 9 test-4 = 4-cipher-server-pref-2 10 test-5 = 5-cipher-server-pref-client-list 11 test-6 = 6-cipher-server-pref-not-mobile 12 test-7 = 7-cipher-server-pref-mobile 13 test-8 = 8-cipher-server-pref-mobile2 16 [0-cipher-server-1 [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| evp_byname_test.c | 28 const EVP_CIPHER *cipher; local 30 if (!TEST_ptr(cipher = EVP_get_cipherbyname("AES-256-WRAP")))
|
| afalgtest.c | 31 const EVP_CIPHER *cipher; local 62 cipher = EVP_aes_128_cbc(); 66 cipher = EVP_aes_192_cbc(); 70 cipher = EVP_aes_256_cbc(); 74 cipher = NULL; 79 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) 89 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) 109 const EVP_CIPHER *cipher; local 114 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); 116 if (cipher != NULL && ctx != NULL [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| evp_byname_test.c | 28 const EVP_CIPHER *cipher; local 30 if (!TEST_ptr(cipher = EVP_get_cipherbyname("AES-256-WRAP")))
|
| afalgtest.c | 31 const EVP_CIPHER *cipher; local 68 cipher = EVP_aes_128_cbc(); 72 cipher = EVP_aes_192_cbc(); 76 cipher = EVP_aes_256_cbc(); 80 cipher = NULL; 85 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) 95 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) 115 const EVP_CIPHER * cipher; local 120 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); 122 if (cipher != NULL && ctx != NULL [all...] |
| /src/external/bsd/wpa/dist/src/common/ |
| ptksa_cache.h | 24 u32 cipher; member in struct:ptksa_cache_entry 38 const u8 *addr, u32 cipher); 42 const u8 *addr, u32 cipher, 48 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher);
|
| /src/external/bsd/wpa/dist/src/crypto/ |
| aes-wrap.c | 23 * @cipher: Wrapped key, (n + 1) * 64 bits 26 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) 33 a = cipher; 34 r = cipher + 8; 52 r = cipher + 8; 71 * These are already in @cipher due to the location of temporary
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| afalgtest.c | 28 const EVP_CIPHER *cipher; local 53 cipher = EVP_aes_128_cbc(); 57 cipher = EVP_aes_192_cbc(); 61 cipher = EVP_aes_256_cbc(); 65 cipher = NULL; 70 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) 80 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) 100 const EVP_CIPHER * cipher; local 105 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); 107 if (cipher != NULL && ctx != NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/pkcs12/ |
| p12_crpt.c | 24 ASN1_TYPE *param, const EVP_CIPHER *cipher, 34 if (cipher == NULL) 52 iter, EVP_CIPHER_get_key_length(cipher), 59 if (EVP_CIPHER_get_iv_length(cipher) > 0) { 61 iter, EVP_CIPHER_get_iv_length(cipher), 72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); 79 ASN1_TYPE *param, const EVP_CIPHER *cipher, 82 return PKCS12_PBE_keyivgen_ex(ctx, pass, passlen, param, cipher, md, en_de,
|
| /src/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
| p12_crpt.c | 24 ASN1_TYPE *param, const EVP_CIPHER *cipher, 34 if (cipher == NULL) 52 iter, EVP_CIPHER_get_key_length(cipher), 59 if (EVP_CIPHER_get_iv_length(cipher) > 0) { 61 iter, EVP_CIPHER_get_iv_length(cipher), 72 ret = EVP_CipherInit_ex(ctx, cipher, NULL, key, piv, en_de); 79 ASN1_TYPE *param, const EVP_CIPHER *cipher, 82 return PKCS12_PBE_keyivgen_ex(ctx, pass, passlen, param, cipher, md, en_de,
|