HomeSort by: relevance | last modified time | path
    Searched refs:sodium_hex2bin (Results 1 - 12 of 12) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/test/default/
ed25519_convert.c 57 sodium_hex2bin(ed25519_pk, crypto_sign_ed25519_PUBLICKEYBYTES,
62 sodium_hex2bin(ed25519_pk, crypto_sign_ed25519_PUBLICKEYBYTES,
67 sodium_hex2bin(ed25519_pk, crypto_sign_ed25519_PUBLICKEYBYTES,
codecs.c 25 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len,
32 sodium_hex2bin(buf4, sizeof buf4, hex, strlen(hex), ": ", &bin_len, NULL);
37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) {
38 printf("sodium_hex2bin() overflow not detected\n");
43 if (sodium_hex2bin(buf1, 4U, hex, 12U, ":", &bin_len, &hex_end) != -1) {
45 "sodium_hex2bin() with an odd input length and a short output "
51 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":",
53 printf("sodium_hex2bin() with an odd input length\n");
58 if (sodium_hex2bin(buf1, sizeof buf1, hex, 13U, ":",
60 printf("sodium_hex2bin() with an odd input length (2)\n")
    [all...]
aead_aes256gcm.c 3107 sodium_hex2bin(key, crypto_aead_aes256gcm_KEYBYTES,
3111 sodium_hex2bin(nonce, crypto_aead_aes256gcm_NPUBBYTES,
3116 sodium_hex2bin(message, message_len,
3121 sodium_hex2bin(ad, ad_len,
3128 sodium_hex2bin(expected_ciphertext, message_len,
3132 sodium_hex2bin(expected_ciphertext + message_len, crypto_aead_aes256gcm_ABYTES,
generichash.c 1309 sodium_hex2bin(key, crypto_generichash_KEYBYTES_MAX,
1313 sodium_hex2bin(expected_out, crypto_generichash_BYTES_MAX,
1318 sodium_hex2bin(in, in_len, tests[i].in_hex, strlen(tests[i].in_hex),
xchacha20.c 47 sodium_hex2bin(key, crypto_core_hchacha20_KEYBYTES,
49 sodium_hex2bin(in, crypto_core_hchacha20_INPUTBYTES,
51 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES,
57 sodium_hex2bin(constant, crypto_core_hchacha20_CONSTBYTES,
60 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES,
119 sodium_hex2bin(key, crypto_stream_xchacha20_KEYBYTES,
121 sodium_hex2bin(nonce, crypto_stream_xchacha20_NONCEBYTES,
123 sodium_hex2bin(out, XCHACHA20_OUT_MAX,
232 sodium_hex2bin(key, crypto_secretbox_xchacha20poly1305_KEYBYTES,
234 sodium_hex2bin(nonce, crypto_secretbox_xchacha20poly1305_NONCEBYTES
    [all...]
chacha20.c 33 sodium_hex2bin((unsigned char *)key, sizeof key, tests[i].key_hex,
35 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex,
120 sodium_hex2bin((unsigned char *)key, sizeof key, tests[i].key_hex,
122 sodium_hex2bin(nonce, sizeof nonce, tests[i].nonce_hex,
pwhash_scrypt.c 100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
103 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
152 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
pwhash_argon2i.c 88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
91 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
143 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
pwhash_argon2id.c 88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
91 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
143 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex,
sign.c     [all...]
  /src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/
utils.h 62 int sodium_hex2bin(unsigned char * const bin, const size_t bin_maxlen,
  /src/sys/external/isc/libsodium/dist/src/libsodium/sodium/
codecs.c 41 sodium_hex2bin(unsigned char *const bin, const size_t bin_maxlen, function in typeref:typename:int

Completed in 53 milliseconds