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

  /src/sys/external/isc/libsodium/dist/test/default/
aead_aes256gcm.c 3083 unsigned char *ciphertext; local in function:tv
3135 ciphertext = (unsigned char *) sodium_malloc(ciphertext_len);
3150 ciphertext, ciphertext_len);
3155 crypto_aead_aes256gcm_encrypt(ciphertext, &found_ciphertext_len,
3160 if (memcmp(ciphertext, expected_ciphertext, ciphertext_len) != 0) {
3164 ciphertext, ciphertext_len);
3172 NULL, ciphertext,
3189 NULL, ciphertext, ciphertext_len,
3194 NULL, ciphertext, ciphertext_len,
3216 sodium_free(ciphertext);
    [all...]
  /src/lib/libcrypt/
bcrypt.c 70 #define BCRYPT_BLOCKS 6 /* Ciphertext blocks */
219 u_int8_t ciphertext[4 * BCRYPT_BLOCKS] = "OrpheanBeholderScryDoubt"; local in function:__bcrypt
288 cdata[i] = Blowfish_stream2word(ciphertext, 4 * BCRYPT_BLOCKS, &j);
295 ciphertext[4 * i + 3] = cdata[i] & 0xff;
297 ciphertext[4 * i + 2] = cdata[i] & 0xff;
299 ciphertext[4 * i + 1] = cdata[i] & 0xff;
301 ciphertext[4 * i + 0] = cdata[i] & 0xff;
315 encode_base64((u_int8_t *) encrypted + strlen(encrypted), ciphertext,
  /src/sys/external/isc/libsodium/src/
sodium_selftest.c 118 static const uint8_t ciphertext[] = { local in function:crypto_aead_chacha20poly1305_ietf_selftest
138 uint8_t inbuf[sizeof(ciphertext) + TESTALIGN];
139 uint8_t outbuf[sizeof(ciphertext) + TESTALIGN];
147 * (plaintext/ciphertext, associated data, nonce, and key), and
148 * the output (ciphertext/plaintext).
164 * Verify encryption produces the expected ciphertext.
191 if (outsize != sizeof(ciphertext)) {
196 outsize, sizeof(ciphertext));
199 if (memcmp(outbuf + M, ciphertext, sizeof(ciphertext)) != 0)
361 static const uint8_t ciphertext[] = { local in function:crypto_aead_xchacha20poly1305_ietf_selftest
    [all...]
  /src/sys/crypto/camellia/
camellia.c 1270 unsigned char *ciphertext)
1292 PUTU32(ciphertext, tmp[0]);
1293 PUTU32(ciphertext+4, tmp[1]);
1294 PUTU32(ciphertext+8, tmp[2]);
1295 PUTU32(ciphertext+12, tmp[3]);
1300 const unsigned char *ciphertext,
1306 tmp[0] = GETU32(ciphertext);
1307 tmp[1] = GETU32(ciphertext + 4);
1308 tmp[2] = GETU32(ciphertext + 8);
1309 tmp[3] = GETU32(ciphertext + 12)
    [all...]

Completed in 61 milliseconds