/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 177 CBB algorithm, oid, param, kdf, kdf_oid, kdf_param, salt_cbb, cipher_cbb, in PKCS5_pbe2_encrypt_init() local 183 !CBB_add_asn1(¶m, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 184 !CBB_add_asn1(&kdf, &kdf_oid, CBS_ASN1_OBJECT) || in PKCS5_pbe2_encrypt_init() 186 !CBB_add_asn1(&kdf, &kdf_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 211 CBS pbe_param, kdf, kdf_obj, enc_scheme, enc_obj; in PKCS5_pbe2_decrypt_init() local 214 !CBS_get_asn1(&pbe_param, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 217 !CBS_get_asn1(&kdf, &kdf_obj, CBS_ASN1_OBJECT) || in PKCS5_pbe2_decrypt_init() 239 if (!CBS_get_asn1(&kdf, &pbkdf2_params, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 240 CBS_len(&kdf) != 0 || in PKCS5_pbe2_decrypt_init()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseAgreementSpi.java | 145 private final DerivationFunction kdf; field in BaseAgreementSpi 149 public BaseAgreementSpi(String kaAlgorithm, DerivationFunction kdf) in BaseAgreementSpi() argument 152 this.kdf = kdf; in BaseAgreementSpi() 224 if (kdf != null) in engineGenerateSecret() 264 if (kdf != null) in engineGenerateSecret() 293 kdf.init(params); in engineGenerateSecret() 296 kdf.generateBytes(keyBytes, 0, keyBytes.length); in engineGenerateSecret()
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 82 void *(*kdf)(const void *in, size_t inlen, void *out, in ECDH_compute_key() 135 if (kdf != NULL) { in ECDH_compute_key() 136 if (kdf(buf, buflen, out, &outlen) == NULL) { in ECDH_compute_key()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBES2AlgorithmParameters.java | 45 private final AlgorithmIdentifier kdf; field in PBES2AlgorithmParameters.BasePBEWithHmacAlgorithmParameters 54 ASN1ObjectIdentifier kdf, in BasePBEWithHmacAlgorithmParameters() argument 59 this.kdf = new AlgorithmIdentifier(kdf, DERNull.INSTANCE); in BasePBEWithHmacAlgorithmParameters() 137 pbeSpec.getSalt(), pbeSpec.getIterationCount(), keySize, kdf)), in engineInit()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_aka.c | 55 u16 kdf; member 803 u8 id, u16 kdf) in eap_aka_prime_kdf_select() argument 808 data->kdf = kdf; in eap_aka_prime_kdf_select() 814 eap_sim_msg_add(msg, EAP_SIM_AT_KDF, kdf, NULL, 0); in eap_aka_prime_kdf_select() 825 if (attr->kdf[i] == EAP_AKA_PRIME_KDF) in eap_aka_prime_kdf_neg() 848 if (attr->kdf[0] != data->kdf) { in eap_aka_prime_kdf_valid() 855 if (attr->kdf[i] == data->kdf) in eap_aka_prime_kdf_valid() 870 for (i = data->kdf ? 1 : 0; i < attr->kdf_count; i++) { in eap_aka_prime_kdf_valid() 872 if (attr->kdf[i] == attr->kdf[j]) { in eap_aka_prime_kdf_valid() 933 if (attr->kdf[0] != EAP_AKA_PRIME_KDF) in eap_aka_process_challenge() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyAgreementSpi.java | 68 DerivationFunction kdf) in KeyAgreementSpi() argument 70 super(kaAlgorithm, kdf); in KeyAgreementSpi()
|
/external/boringssl/src/include/openssl/ |
D | ecdh.h | 90 void *(*kdf)(const void *in, size_t inlen, void *out, size_t *outlen));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 50 DerivationFunction kdf) in KeyAgreementSpi() argument 52 super(kaAlgorithm, kdf); in KeyAgreementSpi()
|
/external/tpm2/ |
D | CpriDataEcc.h | 26 TPMT_KDF_SCHEME kdf; member
|
D | tpm_types.h | 1082 TPMI_ALG_KDF kdf; member 1299 TPMT_KDF_SCHEME kdf; member 1432 TPMT_KDF_SCHEME kdf; member
|
D | Object_spt.c | 413 if(publicArea->parameters.eccDetail.kdf.scheme != TPM_ALG_NULL) in SchemeChecks() 472 if(scheme->details.xor_.kdf == TPM_ALG_NULL) in SchemeChecks()
|
D | CryptUtil.c | 1711 parameters->kdf = curve->kdf; in CryptEccGetParameters()
|
D | tpm_generated.c | 3040 total_size += TPMT_KDF_SCHEME_Marshal(&source->kdf, buffer, size); in TPMS_ECC_PARMS_Marshal() 3060 result = TPMT_KDF_SCHEME_Unmarshal(&target->kdf, buffer, size); in TPMS_ECC_PARMS_Unmarshal() 3119 total_size += TPMI_ALG_KDF_Marshal(&source->kdf, buffer, size); in TPMS_SCHEME_XOR_Marshal() 3131 result = TPMI_ALG_KDF_Unmarshal(&target->kdf, buffer, size, FALSE); in TPMS_SCHEME_XOR_Unmarshal() 6018 total_size += TPMT_KDF_SCHEME_Marshal(&source->kdf, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Marshal() 6042 result = TPMT_KDF_SCHEME_Unmarshal(&target->kdf, buffer, size); in TPMS_ALGORITHM_DETAIL_ECC_Unmarshal()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_aka.c | 51 u16 kdf; member 479 if (data->kdf) { in eap_aka_build_challenge() 482 eap_sim_msg_add(msg, EAP_SIM_AT_KDF, data->kdf, in eap_aka_build_challenge() 923 if (attr->kdf[0] != EAP_AKA_PRIME_KDF) { in eap_aka_process_challenge() 932 data->kdf = attr->kdf[0]; in eap_aka_process_challenge() 936 wpa_printf(MSG_DEBUG, "EAP-AKA': KDF %d selected", data->kdf); in eap_aka_process_challenge()
|
/external/openssh/ |
D | umac.c | 184 static void kdf(void *bufp, aes_int_key key, UINT8 ndx, int nbytes) in kdf() function 224 kdf(buf, prf_key, 0, UMAC_KEY_LEN); in pdf_init() 601 kdf(hc->nh_key, prf_key, 1, sizeof(hc->nh_key)); in nh_init() 966 kdf(buf, prf_key, 2, sizeof(buf)); /* Fill buffer with index 1 key */ in uhash_init() 980 kdf(buf, prf_key, 3, sizeof(buf)); /* Fill buffer with index 2 key */ in uhash_init() 991 kdf(ahc->ip_trans, prf_key, 4, STREAMS * sizeof(UINT32)); in uhash_init()
|
D | sshkey.c | 3051 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL; in sshkey_private_to_blob2() local 3069 if ((kdf = sshbuf_new()) == NULL || in sshkey_private_to_blob2() 3090 if ((r = sshbuf_put_string(kdf, salt, SALT_LEN)) != 0 || in sshkey_private_to_blob2() 3091 (r = sshbuf_put_u32(kdf, rounds)) != 0) in sshkey_private_to_blob2() 3105 (r = sshbuf_put_stringb(encoded, kdf)) != 0 || in sshkey_private_to_blob2() 3168 sshbuf_free(kdf); in sshkey_private_to_blob2() 3199 struct sshbuf *kdf = NULL, *decrypted = NULL; in sshkey_parse_private2() local 3266 (r = sshbuf_froms(decoded, &kdf)) != 0 || in sshkey_parse_private2() 3312 if ((r = sshbuf_get_string(kdf, &salt, &slen)) != 0 || in sshkey_parse_private2() 3313 (r = sshbuf_get_u32(kdf, &rounds)) != 0) in sshkey_parse_private2() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.h | 200 u16 kdf[EAP_AKA_PRIME_KDF_MAX]; member
|
D | eap_sim_common.c | 898 attr->kdf[attr->kdf_count] = WPA_GET_BE16(apos); in eap_sim_parse_attr()
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 2190 -import org.bouncycastle.crypto.agreement.kdf.DHKDFParameters; 2191 -import org.bouncycastle.crypto.agreement.kdf.ECDHKEKGenerator; 2195 +// import org.bouncycastle.crypto.agreement.kdf.DHKDFParameters; 2196 +// import org.bouncycastle.crypto.agreement.kdf.ECDHKEKGenerator; 2225 - private DerivationFunction kdf; 2227 + // private DerivationFunction kdf; 2236 - this.kdf = kdf; 2238 + // this.kdf = kdf; 2310 - if (kdf != null) 2316 + // if (kdf != null) [all …]
|
/external/boringssl/src/crypto/obj/ |
D | objects.txt | 1331 : dh-std-kdf 1332 : dh-cofactor-kdf
|
/external/bouncycastle/ |
D | bouncycastle.config | 23 org/bouncycastle/crypto/agreement/kdf \
|
/external/wpa_supplicant_8/hostapd/ |
D | ChangeLog | 604 * added support for EAP-AKA' (draft-arkko-eap-aka-kdf)
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ChangeLog | 1124 * added support for EAP-AKA' (draft-arkko-eap-aka-kdf)
|