]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/corecrypto/ccn/src/ccn_set.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / osfmk / corecrypto / ccn / src / ccn_set.c
diff --git a/osfmk/corecrypto/ccn/src/ccn_set.c b/osfmk/corecrypto/ccn/src/ccn_set.c
new file mode 100644 (file)
index 0000000..bd95a27
--- /dev/null
@@ -0,0 +1,16 @@
+//
+//  ccn_set.c
+//  corecrypto
+//
+//  Created by Fabrice Gautier on 2/17/12.
+//  Copyright (c) 2012 Apple, Inc. All rights reserved.
+//
+
+#include <corecrypto/ccn.h>
+
+#if !CCN_SET_ASM
+void ccn_set(cc_size n, cc_unit *r, const cc_unit *s)
+{
+    CC_MEMCPY(r, s, ccn_sizeof_n(n));
+}
+#endif