| /freebsd/sys/contrib/libsodium/test/default/ |
| H A D | pwhash_argon2id.c | 229 char *str_out; in str_tests() local 235 str_out = (char *) sodium_malloc(crypto_pwhash_argon2id_STRBYTES); in str_tests() 238 if (crypto_pwhash_str(str_out, passwd, strlen(passwd), OPSLIMIT, in str_tests() 246 if (strcmp(str_out, str_out2) == 0) { in str_tests() 249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 || in str_tests() 250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests() 253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests() 254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 || in str_tests() 255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests() 256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1) { in str_tests() [all …]
|
| H A D | pwhash_argon2i.c | 233 char *str_out; in str_tests() local 239 str_out = (char *) sodium_malloc(crypto_pwhash_STRBYTES); in str_tests() 242 if (crypto_pwhash_argon2i_str(str_out, passwd, strlen(passwd), OPSLIMIT, in str_tests() 250 if (strcmp(str_out, str_out2) == 0) { in str_tests() 253 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests() 256 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests() 257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 || in str_tests() 258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests() 259 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) { in str_tests() 262 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1) { in str_tests() [all …]
|
| H A D | pwhash_scrypt.c | 300 char *str_out; in str_tests() local 306 str_out = in str_tests() 312 if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd), in str_tests() 320 if (strcmp(str_out, str_out2) == 0) { in str_tests() 324 (str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests() 328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests() 330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 || in str_tests() 332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests() 334 (str_out, OPSLIMIT * 2, MEMLIMIT) != 1) { in str_tests() 338 (str_out + 1, OPSLIMIT, MEMLIMIT) != -1) { in str_tests() [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | hostrealm_registry.c | 54 get_from_registry(HKEY hBaseKey, char **str_out) in get_from_registry() argument 63 *str_out = NULL; in get_from_registry() 83 *str_out = str; in get_from_registry()
|
| /freebsd/crypto/krb5/src/util/support/ |
| H A D | json.c | 789 parse_string(struct decode_ctx *ctx, char **str_out) in parse_string() argument 796 *str_out = NULL; in parse_string() 849 *str_out = buf; in parse_string()
|
| /freebsd/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ |
| H A D | ldap_misc.c | 945 char **str_out, krb5_boolean *attr_present) in krb5_ldap_get_string() argument 950 *str_out = NULL; in krb5_ldap_get_string() 960 *str_out = strdup(values[0]); in krb5_ldap_get_string() 961 if (*str_out == NULL) in krb5_ldap_get_string()
|
| /freebsd/crypto/krb5/src/lib/krb5/asn.1/ |
| H A D | asn1_encode.c | 224 uint8_t **str_out, size_t *len_out) in k5_asn1_decode_bytestring() argument 228 *str_out = NULL; in k5_asn1_decode_bytestring() 236 *str_out = str; in k5_asn1_decode_bytestring()
|
| H A D | asn1_encode.h | 68 uint8_t **str_out, size_t *len_out);
|
| /freebsd/crypto/krb5/src/plugins/preauth/pkinit/ |
| H A D | pkinit_crypto_openssl.c | 4769 rfc2253_name(X509_NAME *name, char **str_out) in rfc2253_name() argument 4774 *str_out = NULL; in rfc2253_name() 4785 *str_out = str; in rfc2253_name()
|