projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update RSA selftest code to use a 2048 bit RSA and only a single KAT
[openssl.git]
/
fips
/
fips_locl.h
diff --git
a/fips/fips_locl.h
b/fips/fips_locl.h
index b79865e469e849500203d9c365fb54351bd3b067..3273ba6a83e9fa920d1b2604374f2892ae2b565c 100644
(file)
--- a/
fips/fips_locl.h
+++ b/
fips/fips_locl.h
@@
-1,5
+1,5
@@
/* ====================================================================
/* ====================================================================
- * Copyright (c) 20
03
The OpenSSL Project. All rights reserved.
+ * Copyright (c) 20
11
The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@
-54,6
+54,10
@@
extern "C" {
#endif
#define FIPS_MAX_CIPHER_TEST_SIZE 16
#endif
#define FIPS_MAX_CIPHER_TEST_SIZE 16
+#define fips_load_key_component(key, comp, pre) \
+ key->comp = BN_bin2bn(pre##_##comp, sizeof(pre##_##comp), key->comp); \
+ if (!key->comp) \
+ goto err
#ifdef __cplusplus
}
#ifdef __cplusplus
}