![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
#include <crys_rsa_types.h>
Data Fields | |
| union { | |
| CRYS_RSAUserPubKey_t userPubKey | |
| CRYS_RSAUserPrivKey_t userPrivKey | |
| } | userKey |
| union { | |
| CRYS_RSAPrivUserContext_t userPrivContext | |
| CRYS_RSAPubUserContext_t userPubContext | |
| CRYS_RSAPrimeData_t primData | |
| } | userContext |
| union { | |
| struct { | |
| uint8_t encBuff [2048/8] | |
| uint8_t decBuff [((2048/8)-2 *(20)-2)] | |
| } userOaepData | |
| uint8_t signBuff [2048/8] | |
| } | userData |
Required for internal FIPS verification for RSA KAT. The RSA KAT tests defined for scheme 2.1 with modulus key size of 2048.
| uint8_t CRYS_RSAFipsKatContext_t::decBuff[((2048/8)-2 *(20)-2)] |
Buffer for decrypted data.
| uint8_t CRYS_RSAFipsKatContext_t::encBuff[2048/8] |
Buffer for encrypted data.
| CRYS_RSAPrimeData_t CRYS_RSAFipsKatContext_t::primData |
Internal buffers.
| uint8_t CRYS_RSAFipsKatContext_t::signBuff[2048/8] |
Buffer for Signed data.
| CRYS_RSAPrivUserContext_t CRYS_RSAFipsKatContext_t::userPrivContext |
RSA user's private context.
| CRYS_RSAUserPrivKey_t CRYS_RSAFipsKatContext_t::userPrivKey |
RSA user's private key.
| CRYS_RSAPubUserContext_t CRYS_RSAFipsKatContext_t::userPubContext |
RSA public user's context.
| CRYS_RSAUserPubKey_t CRYS_RSAFipsKatContext_t::userPubKey |
RSA user's public key.