references/NIST-PQ-Submission-Kyber-20201001/Additional_Implementations/clean/crypto_kem/kyber768/indcpa.c
/*************************************************
* Name:        unpack_ciphertext
*
* Description: De-serialize and decompress ciphertext from a byte array;
*              approximate inverse of pack_ciphertext
*
* Arguments:   - polyvec *b:       pointer to the output vector of polynomials b
*              - poly *v:          pointer to the output polynomial v
*              - const uint8_t *c: pointer to the input serialized ciphertext
**************************************************/
unpack_ciphertext
Description: De-serialize and decompress ciphertext from a byte array;
approximate inverse of pack_ciphertext

- polyvec *b:       pointer to the output vector of polynomials b
poly *v:          pointer to the output polynomial v
const uint8_t *c: pointer to the input serialized ciphertext
unpack_ciphertext Description : De - serialize and decompress ciphertext from a byte array ; approximate inverse of pack_ciphertext - polyvec * b : pointer to the output vector of polynomials b poly * v : pointer to the output polynomial v const uint8_t * c : pointer to the input serialized ciphertext
static void unpack_ciphertext(polyvec *b,
                              poly *v,
                              const uint8_t c[KYBER_INDCPA_BYTES]) {
    polyvec_decompress(b, c);
    poly_decompress(v, c + KYBER_POLYVECCOMPRESSEDBYTES);
}
static void unpack_ciphertext ( polyvec * b , poly * v , const uint8_t c [ KYBER_INDCPA_BYTES ] ) { polyvec_decompress ( b , c ) ; poly_decompress ( v , c + KYBER_POLYVECCOMPRESSEDBYTES ) ; }
Name:        unpack_ciphertext
Description: De-serialize and decompress ciphertext from a byte array;
approximate inverse of pack_ciphertext
Name : unpack_ciphertext Description : De - serialize and decompress ciphertext from a byte array ; approximate inverse of pack_ciphertext