/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/ |
PBKDF2KeySpec.java | 10 private AlgorithmIdentifier prf; field in class:PBKDF2KeySpec 12 public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf) 16 this.prf = prf; 21 return prf;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
PBKDF2Params.java | 26 * prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1 } 37 private AlgorithmIdentifier prf; field in class:PBKDF2Params 62 * Create a PBKDF2Params with the specified salt, iteration count, and algid-hmacWithSHA1 for the prf. 76 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and algid-hmacWithSHA1 for the prf. 93 * Create a PBKDF2Params with the specified salt, iteration count, keyLength, and a defined prf. 98 * @param prf the pseudo-random function to use. 104 AlgorithmIdentifier prf) 109 this.prf = prf; 113 * Create a PBKDF2Params with the specified salt, iteration count, and a defined prf [all...] |
/external/libedit/src/ |
prompt.c | 149 prompt_set(EditLine *el, el_pfunc_t prf, Char c, int op, int wide) 158 if (prf == NULL) { 164 p->p_func = prf; 181 prompt_get(EditLine *el, el_pfunc_t *prf, Char *c, int op) 185 if (prf == NULL) 193 if (prf) 194 *prf = p->p_func;
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_ikev2_common.h | 20 int eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys,
|
eap_eke_common.c | 123 static int eap_eke_prf_len(u8 prf) 125 if (prf == EAP_EKE_PRF_HMAC_SHA1) 127 if (prf == EAP_EKE_PRF_HMAC_SHA2_256) 133 static int eap_eke_nonce_len(u8 prf) 137 prf_len = eap_eke_prf_len(prf); 148 static int eap_eke_auth_len(u8 prf) 150 switch (prf) { 211 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, 227 if (prf == EAP_EKE_PRF_HMAC_SHA1) 229 if (prf == EAP_EKE_PRF_HMAC_SHA2_256 [all...] |
ikev2_common.c | 123 const struct ikev2_prf_alg *prf; local 126 prf = ikev2_get_prf(alg); 127 if (prf == NULL) 129 hash_len = prf->hash_len; 376 const struct ikev2_prf_alg *prf; local 379 prf = ikev2_get_prf(prf_alg); 381 shared_secret == NULL || nonce == NULL || prf == NULL) 384 /* prf(SK_pi/r,IDi/r') */ 391 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len, 398 /* sign_data = msg | Nr/i | prf(SK_pi/r,IDi/r') * [all...] |
eap_ikev2_common.c | 18 int eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys, 26 /* KEYMAT = prf+(SK_d, Ni | Nr) */ 37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen,
|
eap_eke_common.h | 65 u8 prf; member in struct:eap_eke_session 82 u8 prf, u8 mac);
|
eap_pwd_common.h | 49 u8 prf; member in struct:eap_pwd_id
|
ikev2_common.h | 14 * key size of the negotiated PRF. 328 int ikev2_derive_sk_keys(const struct ikev2_prf_alg *prf,
|
/external/e2fsprogs/e2fsck/ |
profile.c | 206 (prf_file_t prf); 392 prf_file_t prf; local 401 for (prf = profile->first_file; prf; prf = prf->next) { 402 if (strcmp(prf->filespec, default_filename) == 0) 405 if (!prf) 408 if (prf->root) { 409 profile_free_node(prf->root) 463 prf_file_t prf; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
ikev2.c | 41 const struct ikev2_prf_alg *prf; local 50 prf = ikev2_get_prf(data->proposal.prf); 52 if (integ == NULL || prf == NULL || encr == NULL) { 80 /* SKEYSEED = prf(Ni | Nr, g^ir) */ 94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, 111 skeyseed, prf->hash_len); 113 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, 190 transform_id == data->proposal.prf) 191 prop->prf = transform_id 608 const struct ikev2_prf_alg *prf; local 1051 const struct ikev2_prf_alg *prf; local [all...] |
ikev2.h | 17 int prf; member in struct:ikev2_proposal_data
|
eap_server_ikev2.c | 102 data->ikev2.proposal.prf = PRF_HMAC_SHA1; 332 data->ikev2.proposal.prf, &data->ikev2.keys,
|
/external/wpa_supplicant_8/src/eap_peer/ |
ikev2.c | 37 const struct ikev2_prf_alg *prf; local 46 prf = ikev2_get_prf(data->proposal.prf); 48 if (integ == NULL || prf == NULL || encr == NULL) { 76 /* SKEYSEED = prf(Ni | Nr, g^ir) */ 90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, 107 skeyseed, prf->hash_len); 109 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, 184 prop->prf = transform_id; 318 prop.prf = -1 540 const struct ikev2_prf_alg *prf; local 985 const struct ikev2_prf_alg *prf; local [all...] |
ikev2.h | 17 int prf; member in struct:ikev2_proposal_data
|
eap_eke.c | 33 u8 prf; /* forced PRF or 0 to allow all supported */ member in struct:eap_eke_data 115 pos = os_strstr(phase1, "prf="); 117 data->prf = atoi(pos + 4); 118 wpa_printf(MSG_DEBUG, "EAP-EKE: Forced prf %u", 119 data->prf); 182 static int eap_eke_supp_prf(u8 prf) 184 return prf == EAP_EKE_PRF_HMAC_SHA1 || 185 prf == EAP_EKE_PRF_HMAC_SHA2_256; 263 wpa_printf(MSG_DEBUG, "EAP-EKE: Proposal #%u: dh=%u encr=%u prf=%u mac=%u" [all...] |
/external/wpa_supplicant_8/src/crypto/ |
Makefile | 43 sha1-prf.o \ 47 sha256-prf.o \
|
/external/llvm/utils/TableGen/ |
OptParserEmitter.cpp | 125 std::vector<std::string> prf = R.getValueAsListOfStrings("Prefixes"); local 126 PrefixKeyT prfkey(prf.begin(), prf.end()); 210 std::vector<std::string> prf = R.getValueAsListOfStrings("Prefixes"); local 211 OS << Prefixes[PrefixKeyT(prf.begin(), prf.end())] << ", ";
|
/external/openssl/crypto/asn1/ |
p5_pbev2.c | 78 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR) 86 * Extended version to allow application supplied PRF NID and IV. 127 /* Dummy cipherinit to just setup the IV, and PRF */ 136 /* If prf NID unspecified see if cipher has a preference. 137 * An error is OK here: just means use default PRF. 243 /* prf can stay NULL if we are using hmacWithSHA1 */ 246 kdf->prf = X509_ALGOR_new(); 247 if (!kdf->prf) 249 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid),
|
/external/chromium_org/third_party/boringssl/src/crypto/pkcs8/ |
p5_pbev2.c | 81 ASN1_OPT(PBKDF2PARAM, prf, X509_ALGOR) 111 * Extended version to allow application supplied PRF NID and IV. */ 150 /* Dummy cipherinit to just setup the IV, and PRF */ 158 /* If prf NID unspecified see if cipher has a preference. 159 * An error is OK here: just means use default PRF. 265 /* prf can stay NULL if we are using hmacWithSHA1 */ 268 kdf->prf = X509_ALGOR_new(); 269 if (!kdf->prf) 271 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid),
|
/external/chromium_org/crypto/ |
symmetric_key_win.cc | 233 // specified |block_index| using the PRF |hash|, writing the output to 235 // |output_buf| must have enough space to accomodate the output of the PRF 246 // c iterates of the underlying pseudorandom function PRF applied to the 250 // U_1 = PRF(P, S || INT (i)) 251 // U_2 = PRF(P, U_1) 253 // U_c = PRF(P, U_{c-1}) 259 // Iteration U_1: Compute PRF for S. 280 // Iteration 2 - c: Compute U_{iteration} by applying the PRF to 362 // supported as the PRF. 390 // Convert the user password into a key suitable to be fed into the PRF [all...] |
/external/openssl/crypto/evp/ |
p5_crpt2.c | 299 if (kdf->prf) 300 prf_nid = OBJ_obj2nid(kdf->prf->algorithm);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_context.h | 511 struct radeon_state_atom prf; member in struct:r200_hw_state
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_context.h | 511 struct radeon_state_atom prf; member in struct:r200_hw_state
|