Home
last modified time | relevance | path

Searched refs:signature_offset (Results 1 – 1 of 1) sorted by relevance

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_ecc_generate_keys.c140 UINT signature_offset; in _nx_secure_tls_ecc_generate_keys() local
755 signature_offset = signature_length - (der_encoding_length + hash_length); in _nx_secure_tls_ecc_generate_keys()
756 if ((signature_offset > sizeof(_nx_secure_padded_signature)) || in _nx_secure_tls_ecc_generate_keys()
758 (signature_offset == 0)) in _nx_secure_tls_ecc_generate_keys()
764 NX_CRYPTO_MEMSET(_nx_secure_padded_signature, 0xff, signature_offset); in _nx_secure_tls_ecc_generate_keys()
767 _nx_secure_padded_signature[signature_offset - 1] = 0x0; in _nx_secure_tls_ecc_generate_keys()
772 …NX_CRYPTO_MEMCPY(&_nx_secure_padded_signature[signature_offset], der_encoding, der_encoding_length… in _nx_secure_tls_ecc_generate_keys()
773 signature_offset += der_encoding_length; in _nx_secure_tls_ecc_generate_keys()
775 …NX_CRYPTO_MEMCPY(&_nx_secure_padded_signature[signature_offset], hash, hash_length); /* Use case o… in _nx_secure_tls_ecc_generate_keys()