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

1 2 3

  /src/crypto/external/apache2/openssl/dist/crypto/camellia/
cmll_local.h 35 u8 ciphertext[]);
36 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
40 const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
41 void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[],
camellia.c 407 u8 ciphertext[])
445 PUTU32(ciphertext, s2);
446 PUTU32(ciphertext + 4, s3);
447 PUTU32(ciphertext + 8, s0);
448 PUTU32(ciphertext + 12, s1);
452 const KEY_TABLE_TYPE keyTable, u8 ciphertext[])
455 plaintext, keyTable, ciphertext);
458 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
465 s0 = GETU32(ciphertext) ^ k[0];
466 s1 = GETU32(ciphertext + 4) ^ k[1]
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/camellia/
cmll_local.h 35 u8 ciphertext[]);
36 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
40 const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
41 void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[],
camellia.c 405 u8 ciphertext[])
443 PUTU32(ciphertext, s2);
444 PUTU32(ciphertext + 4, s3);
445 PUTU32(ciphertext + 8, s0);
446 PUTU32(ciphertext + 12, s1);
450 const KEY_TABLE_TYPE keyTable, u8 ciphertext[])
453 plaintext, keyTable, ciphertext);
456 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
463 s0 = GETU32(ciphertext) ^ k[0];
464 s1 = GETU32(ciphertext + 4) ^ k[1]
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/camellia/
cmll_local.h 35 u8 ciphertext[]);
36 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
40 const KEY_TABLE_TYPE keyTable, u8 ciphertext[]);
41 void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[],
camellia.c 399 u8 ciphertext[])
437 PUTU32(ciphertext, s2);
438 PUTU32(ciphertext + 4, s3);
439 PUTU32(ciphertext + 8, s0);
440 PUTU32(ciphertext + 12, s1);
444 const KEY_TABLE_TYPE keyTable, u8 ciphertext[])
447 plaintext, keyTable, ciphertext);
450 void Camellia_DecryptBlock_Rounds(int grandRounds, const u8 ciphertext[],
457 s0 = GETU32(ciphertext) ^ k[0];
458 s1 = GETU32(ciphertext + 4) ^ k[1]
    [all...]
  /src/sys/external/isc/libsodium/dist/test/default/
aead_aes256gcm.c 3083 unsigned char *ciphertext; local
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/crypto/external/bsd/openssh/dist/
kexsntrup761x25519.c 85 u_char *kem_key, *ciphertext, *server_pub; local
123 if ((r = sshbuf_reserve(server_blob, need, &ciphertext)) != 0)
126 crypto_kem_sntrup761_enc(ciphertext, kem_key, client_pub);
127 /* generate ECDH key pair, store server pubkey after ciphertext */
128 server_pub = ciphertext + crypto_kem_sntrup761_CIPHERTEXTBYTES;
138 dump_digest("server cipher text:", ciphertext,
170 const u_char *ciphertext, *server_pub; local
182 ciphertext = sshbuf_ptr(server_blob);
183 server_pub = ciphertext + crypto_kem_sntrup761_CIPHERTEXTBYTES;
185 dump_digest("server cipher text:", ciphertext,
    [all...]
bcrypt_pbkdf.c 74 u_int8_t ciphertext[BCRYPT_HASHSIZE] = local
92 cdata[i] = Blowfish_stream2word(ciphertext, sizeof(ciphertext),
106 memset(ciphertext, 0, sizeof(ciphertext));
kexmlkem768x25519.c 142 /* generate ECDH key pair, store server pubkey after ciphertext */
192 const u_char *ciphertext, *server_pub; local
208 ciphertext = sshbuf_ptr(server_blob);
209 server_pub = ciphertext + crypto_kem_mlkem768_CIPHERTEXTBYTES;
217 memcpy(mlkem_ciphertext.value, ciphertext,
  /src/crypto/external/apache2/openssl/dist/test/
igetest.c 227 unsigned char ciphertext[BIG_TEST_SIZE]; local
232 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, AES_ENCRYPT);
236 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
245 unsigned char ciphertext[BIG_TEST_SIZE]; local
250 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
253 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2,
258 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
267 unsigned char ciphertext[BIG_TEST_SIZE]; local
272 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
275 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2
293 unsigned char ciphertext[BIG_TEST_SIZE]; local
331 unsigned char ciphertext[BIG_TEST_SIZE]; local
352 unsigned char ciphertext[BIG_TEST_SIZE]; local
383 unsigned char ciphertext[BIG_TEST_SIZE]; local
414 unsigned char ciphertext[BIG_TEST_SIZE]; local
    [all...]
ml_kem_internal_test.c 104 uint8_t *ciphertext = NULL; local
130 ciphertext = OPENSSL_malloc(v->ctext_bytes);
131 if (encoded_public_key == NULL || ciphertext == NULL)
145 /* Check that we got the expected 'rho' value in the ciphertext */
167 if (!ossl_ml_kem_encap_rand(ciphertext, v->ctext_bytes,
173 /* Check the ciphertext hash */
174 if (!TEST_true(EVP_Digest(ciphertext, v->ctext_bytes,
187 /* Now decapsulate the ciphertext */
190 ciphertext, v->ctext_bytes, private_key))
199 /* Now a quick negative test by zeroing the ciphertext */
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
igetest.c 227 unsigned char ciphertext[BIG_TEST_SIZE]; local
232 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, AES_ENCRYPT);
236 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
245 unsigned char ciphertext[BIG_TEST_SIZE]; local
250 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
253 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2,
258 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
267 unsigned char ciphertext[BIG_TEST_SIZE]; local
272 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
275 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2
293 unsigned char ciphertext[BIG_TEST_SIZE]; local
331 unsigned char ciphertext[BIG_TEST_SIZE]; local
352 unsigned char ciphertext[BIG_TEST_SIZE]; local
383 unsigned char ciphertext[BIG_TEST_SIZE]; local
414 unsigned char ciphertext[BIG_TEST_SIZE]; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
igetest.c 222 unsigned char ciphertext[BIG_TEST_SIZE]; local
227 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE, &key, iv, AES_ENCRYPT);
231 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
240 unsigned char ciphertext[BIG_TEST_SIZE]; local
245 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
248 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2,
253 AES_ige_encrypt(ciphertext, checktext, TEST_SIZE, &key, iv, AES_DECRYPT);
262 unsigned char ciphertext[BIG_TEST_SIZE]; local
267 AES_ige_encrypt(plaintext, ciphertext, TEST_SIZE / 2, &key, iv,
270 ciphertext + TEST_SIZE / 2, TEST_SIZE / 2
288 unsigned char ciphertext[BIG_TEST_SIZE]; local
326 unsigned char ciphertext[BIG_TEST_SIZE]; local
347 unsigned char ciphertext[BIG_TEST_SIZE]; local
378 unsigned char ciphertext[BIG_TEST_SIZE]; local
409 unsigned char ciphertext[BIG_TEST_SIZE]; local
    [all...]
  /src/external/bsd/libfido2/dist/tools/
largeblob.c 359 decode(const struct blob *ciphertext, const struct blob *nonce,
377 if (ciphertext->len > UINT_MAX ||
378 ciphertext->len > SIZE_MAX - 16 ||
379 ciphertext->len < 16)
381 plaintext.len = ciphertext->len - 16;
390 ciphertext->ptr + ciphertext->len - 16) == 0)
399 EVP_Cipher(ctx, plaintext.ptr, ciphertext->ptr,
417 try_rp(const fido_credman_rk_t *rk, const struct blob *ciphertext,
424 decode(ciphertext, nonce, origsiz, cred) == 0
489 struct blob ciphertext, nonce; local
    [all...]
  /src/lib/libcrypt/
bcrypt.c 67 #define BCRYPT_BLOCKS 6 /* Ciphertext blocks */
216 u_int8_t ciphertext[4 * BCRYPT_BLOCKS] = "OrpheanBeholderScryDoubt"; local
285 cdata[i] = Blowfish_stream2word(ciphertext, 4 * BCRYPT_BLOCKS, &j);
292 ciphertext[4 * i + 3] = cdata[i] & 0xff;
294 ciphertext[4 * i + 2] = cdata[i] & 0xff;
296 ciphertext[4 * i + 1] = cdata[i] & 0xff;
298 ciphertext[4 * i + 0] = cdata[i] & 0xff;
312 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
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
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/crypto/
aes_platform.h 129 size_t aes_gcm_enc_128_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
131 size_t aes_gcm_enc_192_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
133 size_t aes_gcm_enc_256_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
135 size_t aes_gcm_dec_128_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaintext,
137 size_t aes_gcm_dec_192_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaintext,
139 size_t aes_gcm_dec_256_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaintext,
141 size_t unroll8_eor3_aes_gcm_enc_128_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
143 size_t unroll8_eor3_aes_gcm_enc_192_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
145 size_t unroll8_eor3_aes_gcm_enc_256_kernel(const uint8_t *plaintext, uint64_t plaintext_length, uint8_t *ciphertext,
147 size_t unroll8_eor3_aes_gcm_dec_128_kernel(const uint8_t *ciphertext, uint64_t plaintext_length, uint8_t *plaintext
    [all...]
sm2.h 80 const uint8_t *ciphertext, size_t ciphertext_len,
  /src/crypto/external/apache2/openssl/lib/libcrypto/arch/riscv64/
aes-gcm-riscv64-zvkb-zvkg-zvkned.S 193 # We already have the ciphertext/plaintext and ctr data for the first round.
214 # Store ciphertext/plaintext
220 # Store ciphertext/plaintext using mask
281 # Compute AES ctr ciphertext result.
284 # Store ciphertext
291 # Add ciphertext into partial tag
371 # We already have the ciphertext/plaintext and ctr data for the first round.
408 # Store ciphertext/plaintext
414 # Store ciphertext/plaintext using mask
491 # Compute AES ctr ciphertext result
    [all...]
aes-riscv64-zvkb-zvkned.S 109 # ciphertext
112 # Store the ciphertext.
210 # ciphertext
213 # Store the ciphertext.
317 # ciphertext
320 # Store the ciphertext.
  /src/crypto/external/bsd/openssl/dist/include/crypto/
sm2.h 80 const uint8_t *ciphertext, size_t ciphertext_len,
aes_platform.h 110 size_t aes_gcm_enc_128_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphertext,
112 size_t aes_gcm_enc_192_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphertext,
114 size_t aes_gcm_enc_256_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphertext,
116 size_t aes_gcm_dec_128_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plaintext,
118 size_t aes_gcm_dec_192_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plaintext,
120 size_t aes_gcm_dec_256_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plaintext,
  /src/crypto/external/bsd/openssl.old/dist/include/crypto/
sm2.h 73 const uint8_t *ciphertext,
  /src/crypto/external/bsd/heimdal/dist/lib/hx509/
crypto.c 1218 heim_octet_string *ciphertext)
1228 ciphertext->data = NULL;
1229 ciphertext->length = 0;
1263 ciphertext->length = ret;
1264 ciphertext->data = to;
1268 der_free_octet_string(ciphertext);
1278 const heim_octet_string *ciphertext,
1300 ret = RSA_private_decrypt(ciphertext->length, ciphertext->data,
2095 heim_octet_string **ciphertext)
    [all...]

Completed in 49 milliseconds

1 2 3