We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cef73d commit 6e862cfCopy full SHA for 6e862cf
components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/crypto_struct_ipc.h
@@ -47,9 +47,10 @@ struct psa_crypto_generator_s {
47
psa_handle_t handle;
48
};
49
50
+#define PSA_CRYPTO_GENERATOR_INIT { PSA_NULL_HANDLE }
51
static inline struct psa_crypto_generator_s psa_crypto_generator_init(void)
52
{
- const struct psa_crypto_generator_s v = { 0 };
53
+ const struct psa_crypto_generator_s v = PSA_CRYPTO_GENERATOR_INIT;
54
return (v);
55
}
56
@@ -58,6 +59,5 @@ struct psa_key_policy_s {
58
59
psa_algorithm_t alg;
60
61
-#define PSA_CRYPTO_GENERATOR_INIT { PSA_NULL_HANDLE }
62
63
#endif /* PSA_CRYPTO_STRUCT_H */
0 commit comments